package cn.itsource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@MapperScan("cn.itsource.*.mapper")//扫描多模块的mapper接口
@EnableCaching//开启缓存支持
@ServletComponentScan(value = {"cn.itsource.listener"})
public class PethomeServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(PethomeServerApplication.class, args);
    }

}
